package com.ddtech.business.course.query;

import com.ddtech.business.course.entity.CourseType;
import com.ddtech.mybatisplus.annotaion.Eq;
import com.ddtech.mybatisplus.annotaion.Like;
import com.ddtech.mybatisplus.query.WebAbstractQuery;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class CourseTypeQuery extends WebAbstractQuery<CourseType> {

    @Like(alias = "type_name")
    private String typeName;

    @Eq
    private String pid;
    @Eq
    private Integer isShow;
    //是否分页
    private Integer isPage=0;
}
